import 'package:fl_dit_verify/umeng_verify_sdk.dart';

import 'fl_dit_verify_platform_interface.dart';

/// An implementation of [FlDitVerifyPlatform] that uses method channels.
class MethodChannelFlDitVerify extends FlDitVerifyPlatform {
  /// The method channel used to interact with the native platform.
  // @visibleForTesting
  // final methodChannel = const MethodChannel('fl_diting_verify');

  @override
  Future<String?> getPlatformVersion() async {
    // final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
    dynamic version = await UmengVerifySdk.findChannel
        .invokeMethod<String>('getPlatformVersion');
    return version;
  }
}
